package com.nervenets.web.enumeration;

import com.nervenets.web.i18n.Translator;

/**
 * Created by Joe on 2018/3/19.
 */
public enum OrderStatus {
    init,//待支付
    tailConfirm,//待尾款确认
    paid,//已支付
    delivery,//已发送合同
    finish,//已完成
    cancel,//已取消
    expired,//过期未支付
    expiredTailConfirm,//过期未付尾款
    ;

    public String getName() {
        return this.name();
    }

    public String getLabel() {
        return Translator.translate(this);
    }
}
